<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>平台公告</title>
    <link rel="stylesheet" type="text/css" href="<?=base_url()?>public/css/style.css">
    <script type="text/javascript" src="<?=base_url()?>public/js/jq.1.12.4.js"></script>
    <script type="text/javascript" src="<?=base_url()?>public/js/js.js"></script>
<style>
.person1 tr td span{
	display:inline-block;
	width:90px;
	height:90px;
	background-color:white;
	border:1px solid #dee6d3;
	border-radius:5px; 
	float:left;
	margin:20px;
}
.person1 tr td{
	line-height:30px;
}
</style>
</head>
<body>
	<!-- 头部 -->
    <?php echo $menu ?>
    <!-- 主体 -->
    <div class="main clearfix">
		<?php echo $left ?>
		<div class="content">
			<div class="con">
				<div class="bikuang">
                	<div class="right_title">
                        <span>联系我们&nbsp;&nbsp; -</span>
                        <span style="color:#1d3e00; margin:0;">&nbsp;&nbsp;平台公告</span>
                    </div>     
                      
                      <div class="tishi">
                        <p><span>公益账号：</span><b>152****2546</b></p>
                        <p><span>姓名：</span><b>某某</b></p>
                        <p><span>电话：</span><b>15643252568</b></p>
                        <p><span>支付宝号：</span><b>15643252568</b></p>
                        <p><span>微信号：</span><b>15645282568</b></p>
                        <p><span>银行账号：</span><b>15645254552568</b></p>
                        <p><span>匹配金额：</span><b>200</b></p>
                        <p><span>匹配时间：</span><b>2016-08-10  11:08：30</b></p>
                        <p><span>推荐人姓名：</span><b></b></p>
                        <p><span>电话：</span><b></b></p>
                        <p class="btn"><input type="button" value="关闭" name="关闭"></p>
                      </div>
                      
                      <div class="tishi1">
                      	<h6>是否确认打款</h6>
                        <p><span>公益账号：</span><b>152****2546</b></p>
                        <p><span>姓名：</span><b>某某</b></p>
                        <p><span>电话：</span><b>15643252568</b></p>
                        <p><span>支付宝号：</span><b>15643252568</b></p>
                        <p><span>微信号：</span><b>15645282568</b></p>
                        <p><span>银行账号：</span><b>15645254552568</b></p>
                        <p><span>匹配金额：</span><b>200</b></p>
                        <p><span>匹配时间：</span><b>2016-08-10  11:08：30</b></p>
                        <p><span>推荐人姓名：</span><b></b></p>
                        <p><span>电话：</span><b></b></p>
                        <p class="btn1"><input type="button" value="是" name="是"><input type="button" value="否" name="否"></p>
                      </div>
                      
                      
                    <div class="person1">
                    	<table cellpadding="0" cellspacing="0">
                        	<tr>
                            	<th width="25%">标题</th>
                                <th width="25%">摘要</th>
                                <th width="25%">时间</th>
                                <th width="25%">操作</th>
                            </tr>
                            <?php 
                            foreach ($result as $rs){
                            ?>
                            <tr>
                            	<td><span><img style="width: 100px;height: 100px;" src="<?=base_url()?>uploads/<?php echo $rs['picture']; ?>"></span><a style=' line-height:70px;' href="articles/index?id=<?php echo $rs['id'];?>"><?php echo $rs['title'];?></a></td>
                                <td><?php echo $rs['content'];?></td>
                                <td><?php echo date("Y-m-d H:i:s",$rs['create_time']);?></td>
                                <td class="chakan"><a href="articles/index?id=<?php echo $rs['id'];?>">查看</a></td>
                            </tr>
                            <?php }?>
                        </table>
                    </div>
                    </div>
				</div>
			</div>
		</div>
	</div>
<script type="text/javascript">
var flage = true
$(".person1 table tr .xuanze").click(
	function(){
		if(flage == true){
		$(".menu").css({display:"block"})
		flage = false
		}else{
			$(".menu").css({display:"none"})
			flage = true
			}
		})
/* var sile = true
$(".person1 table tr .chakan").click(
	function(){
		if(sile == true){
		$(".tishi").css({display:"block"})
		sile = false
		}else{
			$(".tishi").css({display:"none"})
			sile = true
			}
}) */
var sile = true
$(".person1 table tr td .dakuan").click(
	function(){
		if(sile == true){
		$(".tishi1").css({display:"block"})
		sile = false
		}else{
			$(".tishi1").css({display:"none"})
			sile = true
			}
})

$(".tishi .btn input").click(
	function(){
		$(".tishi").css({display:"none"})
		})
</script>
</body>
</html>
